﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SetupLauncher.Domain.Logic.Parameter
{
    public static class ParameterFactory
    {
        public static IParameter Create(string product)
        {
            return Create(product, null);
        }

        public static IParameter Create(string product, Logger.ILoggable log)
        {
            //switch (product.ToLower())
            //{
            //    case "sinacor":
            //        return new ParameterSinacor(log);
            //    case "imercado":
            //        return new ParameterIMercado(log);
            //    case "setup":
            //        return new ParameterSetup(log);
            //    default:
            //        return new ParameterBase(log);
            //}
            return new ParameterBase(log);
        }
    }
}